{% extends "base.html" %}
{% load i18n %}
<body>

{% block detail %}
    <div class="main">
        <div class="ucWrap">
            <div class="ucSide">
                <h2>{% trans 'Accounts' %}</h2>
                <ul>
                    <li><a href="/my/home/ ">&gt; {% trans 'Browsed Cases' %}</a></li>
                    <li><a href="/my/favor/">&gt; {% trans 'Saved Cases' %}</a></li>
                    <li class="cur"><a>&gt; {% trans 'My Cases' %}</a></li>
                    <li><a href="/my/setting/">&gt; {% trans 'Account' %}</a></li>
                    <li><a href="/my/password/change/">&gt; {% trans 'Change password' %}</a></li>
                </ul>
            </div>
            <div class="ucMain">
                <h2><span><b>{{ case.name }}</b></span>
                    <a href="/problem/add/?caseId={{ case.id }}"
                       target="_blank">{% trans 'New problem' %}</a>
                </h2>
                <ul id="browse">
                    {% if problemList %}
                        {% for problem in problemList %}
                            <li><span><a href="/problem/update/{{ problem.id }}" target="_blank">{% trans 'Edit' %}</a></span>
                                {{ problem.name }}
                            </li>
                        {% endfor %}
                    {% else %}
                        {% trans 'No data' %}
                    {% endif %}
                </ul>

            </div>
        </div>
    </div>

{% endblock %}
</body>
</html>